package com.dongwu.manager.dto;

import com.dongwu.manager.entity.AppTemplate;
import io.swagger.annotations.ApiModelProperty;
/**
 * 设备实体类
 * @author xyj
 *
 */
public class DeviceData {
	@ApiModelProperty(value="设备ID")
	private String id;
	
	@ApiModelProperty(value="设备位置")
	private String address;

	@ApiModelProperty(value="云科号")
	private String yunkeNum;

	@ApiModelProperty(value="mac地址")
	private String sn;

	@ApiModelProperty(value="商家名称")
	private String businessName;

	@ApiModelProperty(value="内部编号")
	private String internalNum;
	
	@ApiModelProperty(value="设备名称")
	private String deviceName;

	@ApiModelProperty(value="商家属性(0表示内部，1表示外部)")
	private Integer businessAttribute;
	
	@ApiModelProperty(value="设备状态")
	private String status;
	
	@ApiModelProperty(value="联系方式")
	private String mobile;

	@ApiModelProperty(value="设备展示(0表示横屏，1表示竖屏)")
	private Integer showType;
	
	@ApiModelProperty(value="下载地址")
	private String downUrl;
	
	@ApiModelProperty(value="商品滚动速度")
	private Integer switchingSpeed;

	@ApiModelProperty(value="设备模板")
	private AppTemplate appTemplate;

    @ApiModelProperty(value="设备模板Id")
    private String appTemplateId;

	@ApiModelProperty(value="设备模板名称")
	private String appTemplateName;

	@ApiModelProperty(value="分辨率")
	private String resolution; // 分辨率

	@ApiModelProperty(value="模板类别唯一编码")
	private String templateTypeSn;

	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDownUrl() {
		return downUrl;
	}

	public void setDownUrl(String downUrl) {
		this.downUrl = downUrl;
	}


	
	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	//城市
	private String city;

	public String getAddress() {
		return address;
	}

	public String getSn() {
		return sn;
	}

	public void setAddress(String address) {
		this.address = address;
	}

    public void setSn(String sn) {
		this.sn = sn;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getInternalNum() {
		return internalNum;
	}

	public void setInternalNum(String internalNum) {
		this.internalNum = internalNum;
	}

	public Integer getBusinessAttribute() {
		return businessAttribute;
	}

	public void setBusinessAttribute(Integer businessAttribute) {
		this.businessAttribute = businessAttribute;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getShowType() {
		return showType;
	}

	public void setShowType(Integer showType) {
		this.showType = showType;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getYunkeNum() {
		return yunkeNum;
	}

	public void setYunkeNum(String yunkeNum) {
		this.yunkeNum = yunkeNum;
	}

	public Integer getSwitchingSpeed() {
		return switchingSpeed;
	}

	public void setSwitchingSpeed(Integer switchingSpeed) {
		this.switchingSpeed = switchingSpeed;
	}

	public String getAppTemplateId() {
		return appTemplateId;
	}

	public void setAppTemplateId(String appTemplateId) {
		this.appTemplateId = appTemplateId;
	}

	@Override
	public String toString() {
		return "DeviceData [id=" + id + ", address=" + address + ", yunkeNum=" + yunkeNum + ", sn=" + sn
				+ ", businessName=" + businessName + ", internalNum=" + internalNum + ", deviceName=" + deviceName
				+ ", businessAttribute=" + businessAttribute + ", status=" + status + ", mobile=" + mobile
				+ ", showType=" + showType + ", downUrl=" + downUrl + ", switchingSpeed=" + switchingSpeed + ", city="
				+ city + "]";
	}

	public AppTemplate getAppTemplate() {
		return appTemplate;
	}

	public void setAppTemplate(AppTemplate appTemplate) {
		this.appTemplate = appTemplate;
	}

	public String getAppTemplateName() {
		return appTemplateName;
	}

	public void setAppTemplateName(String appTemplateName) {
		this.appTemplateName = appTemplateName;
	}

	public String getResolution() {
		return resolution;
	}

	public void setResolution(String resolution) {
		this.resolution = resolution;
	}

	public String getTemplateTypeSn() {
		return templateTypeSn;
	}

	public void setTemplateTypeSn(String templateTypeSn) {
		this.templateTypeSn = templateTypeSn;
	}
}
